<?php
//header("Content-Type: text/html; charset=UTF-8");
if($intPageSize>0){
require_once('lib/classes/page.class.php');
$page=new page(array('total'=>$myrow,'perpage'=>$intPageSize));

echo ''.$page->show();

 
//echo '<hr>mode:2<br>'.$page->show(2);
//echo '<hr>mode:3<br>'.$page->show(3);
//echo '<hr>mode:4<br>'.$page->show(4);
//echo '<hr>开始AJAX模式:';
//$ajaxpage=new page(array('total'=>1000,'perpage'=>20,'ajax'=>'ajax_page','page_name'=>'test'));
//echo 'mode:1<br>'.$ajaxpage->show();
//mysql: select * from table limit offset, rows
}

$pageName="Products".'.php?';
$pageName=$_SERVER["REQUEST_URI"];
?>
<script>
function jumpPage(arg){
	//alert('<?=$pageName?>'+'?PB_page='+arg);
	var jumpURL='<?=$pageName?>';//+'?PB_page='+arg;
	location.href=jumpURL;
}
</script>
